<template>
  <div>
    点击退出清除token
    <el-button type="info" @click="loginOut">退出</el-button>
  </div>

</template>

<script>
export default {
  name: 'home',
  methods: {
    loginOut () {
      window.sessionStorage.clear();
      this.$router.push("/login")


    }
  }
}
</script>

<style>
</style>